package com.et114.modules.org.vo;

import java.util.List;
import java.util.ArrayList;


/**AUTH_ROLEMSG_SEQU
 * @author guanhw
 */
public class RoleVo extends OrgBaseVo   {
	private static final long	serialVersionUID	= 2360571434360125282L;
	private Long roleId ; 
	private byte roleType ;
	private String roleName;
	private String roleDesc ;
	//资源
	private List functions = new ArrayList ();
	private List methods = new ArrayList();
	private List functionEls = new ArrayList();
	
	//org
	private List users = new ArrayList();
	private List groups = new ArrayList() ;
	private List titles = new ArrayList();
	
	//extends pros
	private Long[ ] deleteId;
	private Long[ ] roleIds ;
	private java.util.Date authDate ;
	private Long funcId ;
	private String roleTypeName ; 
	private String loginName ;
	private String empName ; 
	private String groupName ;  // TODO 
	private String grpName ;  //TODO
	private String titleName ; 
	public RoleVo (){}
	
	public Long getRoleId ( ) {
		return roleId;
	}
	public void setRoleId ( Long roleId ) {
		this.roleId = roleId;
	}
	public String getRoleName ( ) {
		return roleName;
	}
	public void setRoleName ( String roleName ) {
		this.roleName = roleName;
	}
	public String getRoleDesc ( ) {
		return roleDesc;
	}
	public void setRoleDesc ( String roleDesc ) {
		this.roleDesc = roleDesc;
	}
	public List getFunctions ( ) {
		return functions;
	}
	public void setFunctions ( List functions ) {
		this.functions = functions;
	}
	public List getUsers ( ) {
		return users;
	}
	public void setUsers ( List users ) {
		this.users = users;
	}
	public List getGroups ( ) {
		return groups;
	}
	public void setGroups ( List groups ) {
		this.groups = groups;
	}
	public List getTitles ( ) {
		return titles;
	}
	public void setTitles ( List titles ) {
		this.titles = titles;
	}
	public List getMethods ( ) {
		return methods;
	}
	public java.util.Date getAuthDate ( ) {
		return authDate;
	}
	public void setAuthDate ( java.util.Date authDate ) {
		this.authDate = authDate;
	}
	public void setMethods ( List methods ) {
		this.methods = methods;
	}
	public Long getFuncId ( ) {
		return funcId;
	}
	public void setFuncId ( Long funcId ) {
		this.funcId = funcId;
	}
	public List getFunctionEls ( ) {
		return functionEls;
	}
	public void setFunctionEls ( List functionEls ) {
		this.functionEls = functionEls;
	}
	public Long [ ] getDeleteId ( ) {
		return deleteId;
	}
	public void setDeleteId ( Long [ ] deleteId ) {
		this.deleteId = deleteId;
	}
	public byte getRoleType ( ) {
		return roleType;
	}
	public void setRoleType ( byte roleType ) {
		this.roleType = roleType;
	}

	public String getRoleTypeName ( ) {
		return roleTypeName;
	}

	public void setRoleTypeName ( String roleTypeName ) {
		this.roleTypeName = roleTypeName;
	}
	
    public String getLoginName ( ) {
		return loginName;
	}

	public void setLoginName ( String loginName ) {
		this.loginName = loginName;
	}

	public String getEmpName ( ) {
		return empName;
	}

	public void setEmpName ( String empName ) {
		this.empName = empName;
	}

	public String getGroupName ( ) {
		return groupName;
	}

	public void setGroupName ( String groupName ) {
		this.groupName = groupName;
	}

	public String getGrpName ( ) {
		return grpName;
	}

	public void setGrpName ( String grpName ) {
		this.grpName = grpName;
	}

	public String getTitleName ( ) {
		return titleName;
	}

	public void setTitleName ( String titleName ) {
		this.titleName = titleName;
	}

	public Long [ ] getRoleIds ( ) {
		return roleIds;
	}

	public void setRoleIds ( Long [ ] roleIds ) {
		this.roleIds = roleIds;
	}

	public boolean equals(Object obj) {
        if (obj == null) return false;
        if (obj == this) return true;
        if (obj instanceof RoleVo) {
            return this.getRoleId().longValue() == ((RoleVo) obj).getRoleId().longValue();
        }
        return false;
    }

}
